<?php

namespace App\Http\Controllers\Kms\App\User;

use App\Http\Controllers\BaseController;
use App\Service\Kms\User\UserService;
use Exception;
use Illuminate\Http\JsonResponse;
use Illuminate\Validation\ValidationException;

class UserController extends BaseController
{
    /**
     * @return JsonResponse
     * @throws ValidationException|Exception
     */
    public function userinfo(): JsonResponse
    {
        return $this->success(UserService::userinfo());
    }
}
